package com.example.user.service;

/**
 * @author FanFu
 * @version 1.0
 * @date 2025/11/8 20:16
 */
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.user.entity.User;
import org.springframework.transaction.annotation.Transactional;

public interface UserService extends IService<User> {
    @Transactional
    boolean removeById(Long id);

    User getUserById(Long id);
    User getUserByUsername(String username);
}
